package com.finance.model.bankCard.dto;

import org.springframework.stereotype.Component;

/**
 * @Author: Apollo
 * @Date: 2021/4/17
 * @Description: 认证银行卡请求DTO
 */
@Component
public class AuthenticatedBankCardRequestDto {

    /**
     * 银行卡卡号
     */
    private String bank;

    /**
     * 手机号码
     */
    private String mobile;

    /**
     * 姓名
     */
    private String name;

    /**
     * 证件号
     */
    private String number;

    /**
     * 证件类型(0:身份证[默认] )
     */
    private String type;


    /**
     * 服务接口的url路径
     */
    public static final String SERVICE_URL = "http://api11.aliyun.venuscn.com/cert/bank-card/4";

    /**
     * 授权
     */
    public static final String AUTHORIZATION_HEADER_KEY = "Authorization";

    /**
     * app code在头里携带的前缀
     */
    public static final String APP_CODE_PRE = "APPCODE ";

    /**
     * 申请的app code
     */
    public static final String APP_CODE = "d830932cba254487a489b4d86b7b8871";





    public static final String COL_BANK = "bank";

    public static final String COL_MOBILE = "mobile";

    public static final String COL_NAME = "name";

    public static final String COL_NUMBER = "number";

    public static final String COL_TYPE = "type";


    public String getBank() {
        return bank;
    }

    public void setBank(String bank) {
        this.bank = bank;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public static String getServiceUrl() {
        return SERVICE_URL;
    }

    public static String getAuthorizationHeaderKey() {
        return AUTHORIZATION_HEADER_KEY;
    }

    public static String getAppCodePre() {
        return APP_CODE_PRE;
    }

    public static String getAppCode() {
        return APP_CODE;
    }

    public static String getColBank() {
        return COL_BANK;
    }

    public static String getColMobile() {
        return COL_MOBILE;
    }

    public static String getColName() {
        return COL_NAME;
    }

    public static String getColNumber() {
        return COL_NUMBER;
    }

    public static String getColType() {
        return COL_TYPE;
    }
}
